import request from '@/router/axios';
import config from '@/config/website'
//列表
export const customerVisitList = (current, size, equipment) => {
    return request({
        url: '/api/blade-sale/hg_sale/saleInterview/page',
        method: 'get',
        params: {
            current,
            size,
            ...equipment
        }
    })
}


//新建
export const customerVisitAdd = (data) => {
    return request({
        url: '/api/blade-sale/hg_sale/saleInterview/save',
        method: 'post',
        data
    })
}
//修改
export const customerVisitUpdate = (data) => {
    return request({
        url: '/api/blade-sale/hg_sale/saleInterview/update',
        method: 'post',
        data
    })
}

//删除
export const customerVisitDel = (ids) => {
    return request({
        url: '/api/blade-sale/hg_sale/saleInterview/remove',
        method: 'post',
        params: {
            ids
        }
    })
}
